home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 25 / PC Gamer IT CD 25.iso / ZGI_DEMO / DATA / SCRIPTS.ZFS / uc1e.scr < prev    next >
Text File  |  1997-09-04  |  15KB  |  491 lines

  1. # Node uc1e generated on Thu Sep 04 16:18:52 1997
  2. world u
  3. room c
  4. nodeview 1e
  5.  
  6. puzzle:01566 {    # uc1e_no_prefs
  7.     criteria {
  8.     }
  9.     results {
  10.         action:menu_bar_enable(781)
  11.     }
  12.     flags {
  13.         once_per_inst
  14.         do_me_now
  15.     }
  16. }
  17.  
  18. puzzle:01567 {    # uc1e_add_to_score
  19.     criteria {
  20.         [01568] = 1    # uc1e_grab_scroll
  21.     }
  22.     results {
  23.         action:add(14999, 20)    # user_score
  24.     }
  25. }
  26.  
  27. puzzle:01569 {    # uc1e_preload
  28.     criteria {
  29.     }
  30.     results {
  31.         action:animpreload:01570(uc1ea012.avi 0 0 0 0)    # uc1e_open_purple_avi
  32.         action:animpreload:01571(uc1ea022.avi 0 0 0 0)    # uc1e_open_clear_avi
  33.         action:animpreload:01572(uc1ea032.avi 0 0 0 0)    # uc1e_turn_clear_down_avi
  34.         action:animpreload:01573(uc1ea042.avi 0 0 0 0)    # uc1e_turn_clear_up_avi
  35.     }
  36.     flags {
  37.         once_per_inst
  38.         do_me_now
  39.     }
  40. }
  41.  
  42. puzzle:01574 {    # uc1e_screenset
  43.     criteria {
  44.         [01545] = 0    # uc1e_cast_invisopurple_1
  45.         [01544] = 0    # uc1e_cast_thunder_1
  46.     }
  47.     results {
  48.         action:assign(01575, 1)    # uc1e_screenset_2
  49.         action:assign(01576, 1)    # uc1e_screenset_3
  50.         action:assign(01577, 1)    # uc1e_screenset_3_2
  51.         action:assign(01578, 1)    # uc1e_screenset_4
  52.         action:assign(01579, 1)    # uc1e_screenset_4_2
  53.         action:set_screen(uc1ef011.tga)
  54.         action:disable_control(01580)    # uc1e_scroll_ctrl
  55.     }
  56.     flags {
  57.         once_per_inst
  58.         do_me_now
  59.     }
  60. }
  61.  
  62. puzzle:01581 {    # uc1e_dm_speaks
  63.     criteria {
  64.         [01024] ! 1    # voice_over
  65.     }
  66.     results {
  67.         action:kill(01024)    # voice_over
  68.         action:assign(01582, 4)    # person_talking
  69.         action:universe_music:01024(1 uc1eh60p.raw 0 100)    # voice_over
  70.     }
  71. }
  72.  
  73. puzzle:01583 {    # uc1e_dm_speaks_2
  74.     criteria {
  75.         [01024] ! 1    # voice_over
  76.         [01545] = 1    # uc1e_cast_invisopurple_1
  77.         [01544] = 0    # uc1e_cast_thunder_1
  78.     }
  79.     results {
  80.         action:kill(01024)    # voice_over
  81.         action:assign(01582, 4)    # person_talking
  82.         action:universe_music:01024(1 uc1eh61p.raw 0 100)    # voice_over
  83.     }
  84. }
  85.  
  86. puzzle:01584 {    # uc1e_dm_speaks_3
  87.     criteria {
  88.         [01024] ! 1    # voice_over
  89.         [01545] = 1    # uc1e_cast_invisopurple_1
  90.         [01544] = 1    # uc1e_cast_thunder_1
  91.         [01568] = 0    # uc1e_grab_scroll
  92.         [01585] = 1    # uc1e_cast_thunder_2_end
  93.     }
  94.     criteria {
  95.         [01024] ! 1    # voice_over
  96.         [01545] = 0    # uc1e_cast_invisopurple_1
  97.         [01544] = 1    # uc1e_cast_thunder_1
  98.         [01568] = 0    # uc1e_grab_scroll
  99.         [01585] = 1    # uc1e_cast_thunder_2_end
  100.     }
  101.     results {
  102.         action:kill(01024)    # voice_over
  103.         action:assign(01582, 4)    # person_talking
  104.         action:universe_music:01024(1 uc1eh62p.raw 0 100)    # voice_over
  105.     }
  106. }
  107.  
  108. puzzle:01575 {    # uc1e_screenset_2
  109.     criteria {
  110.         [01545] = 1    # uc1e_cast_invisopurple_1
  111.         [01544] = 0    # uc1e_cast_thunder_1
  112.     }
  113.     results {
  114.         action:assign(01574, 1)    # uc1e_screenset
  115.         action:assign(01576, 1)    # uc1e_screenset_3
  116.         action:assign(01577, 1)    # uc1e_screenset_3_2
  117.         action:assign(01578, 1)    # uc1e_screenset_4
  118.         action:assign(01579, 1)    # uc1e_screenset_4_2
  119.         action:set_screen(uc1ef021.tga)
  120.         action:disable_control(01580)    # uc1e_scroll_ctrl
  121.     }
  122.     flags {
  123.         once_per_inst
  124.         do_me_now
  125.     }
  126. }
  127.  
  128. puzzle:01576 {    # uc1e_screenset_3
  129.     criteria {
  130.         [01545] = 0    # uc1e_cast_invisopurple_1
  131.         [01544] = 1    # uc1e_cast_thunder_1
  132.         [01568] = 0    # uc1e_grab_scroll
  133.     }
  134.     results {
  135.         action:assign(01574, 1)    # uc1e_screenset
  136.         action:assign(01575, 1)    # uc1e_screenset_2
  137.         action:assign(01577, 1)    # uc1e_screenset_3_2
  138.         action:assign(01578, 1)    # uc1e_screenset_4
  139.         action:assign(01579, 1)    # uc1e_screenset_4_2
  140.         action:set_screen(uc1ef031.tga)
  141.         action:enable_control(01580)    # uc1e_scroll_ctrl
  142.     }
  143.     flags {
  144.         once_per_inst
  145.         do_me_now
  146.     }
  147. }
  148.  
  149. puzzle:01577 {    # uc1e_screenset_3_2
  150.     criteria {
  151.         [01545] = 0    # uc1e_cast_invisopurple_1
  152.         [01544] = 1    # uc1e_cast_thunder_1
  153.         [01568] = 1    # uc1e_grab_scroll
  154.     }
  155.     results {
  156.         action:assign(01574, 1)    # uc1e_screenset
  157.         action:assign(01575, 1)    # uc1e_screenset_2
  158.         action:assign(01576, 1)    # uc1e_screenset_3
  159.         action:assign(01578, 1)    # uc1e_screenset_4
  160.         action:assign(01579, 1)    # uc1e_screenset_4_2
  161.         action:set_screen(uc1ef031.tga)
  162.         action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
  163.         action:disable_control(01580)    # uc1e_scroll_ctrl
  164.     }
  165.     flags {
  166.         once_per_inst
  167.         do_me_now
  168.     }
  169. }
  170.  
  171. puzzle:01578 {    # uc1e_screenset_4
  172.     criteria {
  173.         [01545] = 1    # uc1e_cast_invisopurple_1
  174.         [01544] = 1    # uc1e_cast_thunder_1
  175.         [01568] = 0    # uc1e_grab_scroll
  176.     }
  177.     results {
  178.         action:assign(01574, 1)    # uc1e_screenset
  179.         action:assign(01575, 1)    # uc1e_screenset_2
  180.         action:assign(01576, 1)    # uc1e_screenset_3
  181.         action:assign(01577, 1)    # uc1e_screenset_3_2
  182.         action:assign(01578, 1)    # uc1e_screenset_4
  183.         action:set_screen(uc1ef041.tga)
  184.         action:enable_control(01580)    # uc1e_scroll_ctrl
  185.     }
  186.     flags {
  187.         once_per_inst
  188.         do_me_now
  189.     }
  190. }
  191.  
  192. puzzle:01579 {    # uc1e_screenset_4_2
  193.     criteria {
  194.         [01545] = 1    # uc1e_cast_invisopurple_1
  195.         [01544] = 1    # uc1e_cast_thunder_1
  196.         [01568] = 1    # uc1e_grab_scroll
  197.     }
  198.     results {
  199.         action:assign(01574, 1)    # uc1e_screenset
  200.         action:assign(01575, 1)    # uc1e_screenset_2
  201.         action:assign(01576, 1)    # uc1e_screenset_3
  202.         action:assign(01577, 1)    # uc1e_screenset_3_2
  203.         action:assign(01578, 1)    # uc1e_screenset_4
  204.         action:set_screen(uc1ef041.tga)
  205.         action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
  206.         action:disable_control(01580)    # uc1e_scroll_ctrl
  207.     }
  208.     flags {
  209.         once_per_inst
  210.         do_me_now
  211.     }
  212. }
  213.  
  214. puzzle:01545 {    # uc1e_cast_invisopurple_1
  215.     criteria {
  216.         [01586] = 1    # uc1e_tree_control
  217.         [01544] = 0    # uc1e_cast_thunder_1
  218.         [00009] = 231    # Inventory
  219.     }
  220.     results {
  221.         action:assign(01587, 1)    # uc1e_cast_invisopurple_2
  222.         action:assign(01588, 1)    # uc1e_cast_invisopurple_3
  223.         action:assign(01591, 1)    # uc1e_cast_invisopurple_2_end
  224.         action:assign(01893, 1)    # uc1e_cast_invisopurple_3_end
  225.         action:inventory(drop 231)
  226.         action:syncsound(01572 0 uc1eq03q.raw 22050 16 1 0)    # uc1e_turn_clear_down_avi
  227.         action:playpreload:01589(01572 0 0 640 344 0 7 1)    # uc1e_turn_clear_down_avi
  228.     }
  229. }
  230.  
  231. puzzle:01590 {    # uc1e_cast_invisopurple_1_end
  232.     criteria {
  233.         [01589] = 2    # uc1e_turn_visible_task_1
  234.     }
  235.     results {
  236.         action:assign(01591, 1)    # uc1e_cast_invisopurple_2_end
  237.         action:set_screen(uc1ef021.tga)
  238.     }
  239. }
  240.  
  241. puzzle:01587 {    # uc1e_cast_invisopurple_2
  242.     criteria {
  243.         [01586] = 1    # uc1e_tree_control
  244.         [01601] = 1    # uc1e_cast_thunder_1_end
  245.         [00009] = 231    # Inventory
  246.         [01568] = 0    # uc1e_grab_scroll
  247.     }
  248.     results {
  249.         action:assign(01545, 1)    # uc1e_cast_invisopurple_1
  250.         action:assign(01588, 1)    # uc1e_cast_invisopurple_3
  251.         action:assign(01590, 1)    # uc1e_cast_invisopurple_1_end
  252.         action:assign(01893, 1)    # uc1e_cast_invisopurple_3_end
  253.         action:inventory(drop 231)
  254.         action:syncsound(01573 0 uc1eq03q.raw 22050 16 1 0)    # uc1e_turn_clear_up_avi
  255.         action:playpreload:01592(01573 0 0 640 344 0 8 1)    # uc1e_turn_clear_up_avi
  256.     }
  257. }
  258.  
  259. puzzle:01588 {    # uc1e_cast_invisopurple_3
  260.     criteria {
  261.         [01586] = 1    # uc1e_tree_control
  262.         [01601] = 1    # uc1e_cast_thunder_1_end
  263.         [00009] = 231    # Inventory
  264.         [01568] = 1    # uc1e_grab_scroll
  265.     }
  266.     results {
  267.         action:assign(01545, 1)    # uc1e_cast_invisopurple_1
  268.         action:assign(01587, 1)    # uc1e_cast_invisopurple_2
  269.         action:assign(01590, 1)    # uc1e_cast_invisopurple_1_end
  270.         action:assign(01591, 1)    # uc1e_cast_invisopurple_2_end
  271.         action:inventory(drop 231)
  272.         action:animplay:01592(uc1ea051.avi 0 0 640 344 0 10 1 0 0 0 0)    # uc1e_turn_visible_task_2
  273.         action:syncsound(01592 0 uc1eq03q.raw 22050 16 1 0)    # uc1e_turn_visible_task_2
  274.     }
  275. }
  276.  
  277. puzzle:01591 {    # uc1e_cast_invisopurple_2_end
  278.     criteria {
  279.         [01592] = 2    # uc1e_turn_visible_task_2
  280.         [01568] = 0    # uc1e_grab_scroll
  281.     }
  282.     results {
  283.         action:assign(01590, 1)    # uc1e_cast_invisopurple_1_end
  284.         action:assign(01593, 1)    # uc1e_cast_invisopurple_2_end_2
  285.         action:set_screen(uc1ef041.tga)
  286.     }
  287. }
  288.  
  289. puzzle:01593 {    # uc1e_cast_invisopurple_2_end_2
  290.     criteria {
  291.         [01592] = 2    # uc1e_turn_visible_task_2
  292.         [01568] = 1    # uc1e_grab_scroll
  293.     }
  294.     results {
  295.         action:assign(01590, 1)    # uc1e_cast_invisopurple_1_end
  296.         action:assign(01591, 1)    # uc1e_cast_invisopurple_2_end
  297.         action:set_screen(uc1ef041.tga)
  298.         action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
  299.     }
  300. }
  301.  
  302. puzzle:01544 {    # uc1e_cast_thunder_1
  303.     criteria {
  304.         [01586] = 1    # uc1e_tree_control
  305.         [01594] = 0    # uc1e_cast_thunder
  306.         [01545] = 0    # uc1e_cast_invisopurple_1
  307.         [00009] = 225    # Inventory
  308.     }
  309.     criteria {
  310.         [00010] = 1    # MouseDown
  311.         [01594] = 0    # uc1e_cast_thunder
  312.         [01545] = 0    # uc1e_cast_invisopurple_1
  313.         [00009] = 225    # Inventory
  314.     }
  315.     results {
  316.         action:inventory(drop 225)
  317.         action:assign(01595, 1)    # uc1e_cast_thunder_2
  318.         action:assign(01585, 1)    # uc1e_cast_thunder_2_end
  319.         action:assign(01596, 1)    # uc1e_cant_back_up
  320.         action:timer:01597(20)    # uc1e_thunder_timer
  321.         action:music:01598(0 uc1eh17q.raw 0 100)    # uc1e_thunder_audio
  322.     }
  323. }
  324.  
  325. puzzle:01599 {    # uc1e_raise_umbrellas_1
  326.     criteria {
  327.         [01597] = 2    # uc1e_thunder_timer
  328.     }
  329.     results {
  330.         action:assign(01597, 0)    # uc1e_thunder_timer
  331.         action:animplay:01600(uc1ea012.avi 0 0 640 344 0 59 1 0 0 0 0)    # uc1e_open_purple_task_1
  332.         action:syncsound(01600 0 uc1eq02q.raw 22050 16 1 0)    # uc1e_open_purple_task_1
  333.     }
  334. }
  335.  
  336. puzzle:01601 {    # uc1e_cast_thunder_1_end
  337.     criteria {
  338.         [01600] = 2    # uc1e_open_purple_task_1
  339.     }
  340.     results {
  341.         action:assign(01585, 1)    # uc1e_cast_thunder_2_end
  342.         action:assign(01596, 0)    # uc1e_cant_back_up
  343.         action:set_screen(uc1ef031.tga)
  344.         action:enable_control(01580)    # uc1e_scroll_ctrl
  345.     }
  346. }
  347.  
  348. puzzle:01595 {    # uc1e_cast_thunder_2
  349.     criteria {
  350.         [01586] = 1    # uc1e_tree_control
  351.         [01594] = 0    # uc1e_cast_thunder
  352.         [01590] = 1    # uc1e_cast_invisopurple_1_end
  353.         [00009] = 225    # Inventory
  354.     }
  355.     criteria {
  356.         [00010] = 1    # MouseDown
  357.         [01594] = 0    # uc1e_cast_thunder
  358.         [01590] = 1    # uc1e_cast_invisopurple_1_end
  359.         [00009] = 225    # Inventory
  360.     }
  361.     results {
  362.         action:inventory(drop 225)
  363.         action:assign(01544, 1)    # uc1e_cast_thunder_1
  364.         action:assign(01601, 1)    # uc1e_cast_thunder_1_end
  365.         action:assign(01596, 1)    # uc1e_cant_back_up
  366.         action:timer:01602(20)    # uc1e_thunder_timer2
  367.         action:music:01603(0 uc1eh17q.raw 0 100)    # uc1e_thunder_audio2
  368.     }
  369. }
  370.  
  371. puzzle:01604 {    # uc1e_raise_umbrellas_2
  372.     criteria {
  373.         [01602] = 2    # uc1e_thunder_timer2
  374.     }
  375.     results {
  376.         action:assign(01602, 0)    # uc1e_thunder_timer2
  377.         action:syncsound(01571 0 uc1eq02q.raw 22050 16 1 0)    # uc1e_open_clear_avi
  378.         action:playpreload:01605(01571 0 0 640 344 1 59 1)    # uc1e_open_clear_avi
  379.     }
  380. }
  381.  
  382. puzzle:01585 {    # uc1e_cast_thunder_2_end
  383.     criteria {
  384.         [01605] = 2    # uc1e_open_clear_task_2
  385.     }
  386.     results {
  387.         action:assign(01601, 1)    # uc1e_cast_thunder_1_end
  388.         action:assign(01596, 0)    # uc1e_cant_back_up
  389.         action:set_screen(uc1ef041.tga)
  390.         action:enable_control(01580)    # uc1e_scroll_ctrl
  391.     }
  392. }
  393.  
  394. puzzle:01606 {    # uc1e_empty_clicks
  395.     criteria {
  396.         [01586] = 1    # uc1e_tree_control
  397.         [00009] ! 231    # Inventory
  398.         [00009] ! 225    # Inventory
  399.     }
  400.     results {
  401.         action:assign(01606, 0)    # uc1e_empty_clicks
  402.         action:assign(01586, 0)    # uc1e_tree_control
  403.     }
  404.     flags {
  405.         once_per_inst
  406.     }
  407. }
  408.  
  409. puzzle:01607 {    # uc1e_empty_magic_clicks
  410.     criteria {
  411.         [01586] = 1    # uc1e_tree_control
  412.         [00009] = 231    # Inventory
  413.         [01545] = 1    # uc1e_cast_invisopurple_1
  414.     }
  415.     criteria {
  416.         [01586] = 1    # uc1e_tree_control
  417.         [00009] = 225    # Inventory
  418.         [01544] = 1    # uc1e_cast_thunder_1
  419.     }
  420.     results {
  421.         action:inventory(drop 231)
  422.         action:inventory(drop 225)
  423.         action:assign(01607, 0)    # uc1e_empty_magic_clicks
  424.         action:assign(01586, 0)    # uc1e_tree_control
  425.     }
  426.     flags {
  427.         once_per_inst
  428.     }
  429. }
  430.  
  431. puzzle:01568 {    # uc1e_grab_scroll
  432.     criteria {
  433.         [01580] = 1    # uc1e_scroll_ctrl
  434.     }
  435.     results {
  436.         action:set_partial_screen(291 294 uc1ev011.tga 0 -1)
  437.         action:assign(00194, 2)    # SPELL_4_IN_BOOK
  438.         action:dissolve()
  439.         action:change_location(g, j, m2, 0)
  440.     }
  441. }
  442.  
  443. puzzle:01608 {    # uc1e_move_backwards
  444.     criteria {
  445.         [01609] = 1    # uc1e_backup
  446.         [01596] ! 1    # uc1e_cant_back_up
  447.     }
  448.     results {
  449.         action:assign(01609, 0)    # uc1e_backup
  450.         action:assign(01610, 1)    # uc1e_intro_sound
  451.         action:dissolve()
  452.         action:change_location(u, c, 10, 872)
  453.     }
  454.     flags {
  455.         once_per_inst
  456.     }
  457. }
  458.  
  459. puzzle:01611 {    # uc1e_dont_move_backwards
  460.     criteria {
  461.         [01609] = 1    # uc1e_backup
  462.         [01596] = 1    # uc1e_cant_back_up
  463.     }
  464.     results {
  465.         action:assign(01609, 0)    # uc1e_backup
  466.         action:assign(01611, 0)    # uc1e_dont_move_backwards
  467.     }
  468.     flags {
  469.         once_per_inst
  470.     }
  471. }
  472.  
  473. control:01586 push_toggle {    # uc1e_tree_control
  474.     flat_hotspot(0, 0, 640, 288)
  475.     cursor(active)
  476. }
  477.  
  478. control:01609 push_toggle {    # uc1e_backup
  479.     flat_hotspot(0, 289, 640, 55)
  480.     cursor(backward)
  481. }
  482.  
  483. control:01580 push_toggle {    # uc1e_scroll_ctrl
  484.     flat_hotspot(266, 281, 81, 61)
  485.     cursor(handpu)
  486. }
  487.  
  488. control:01612 flat {    # uc1e_flat
  489. }
  490.  
  491.